<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="crop.css"></link>
</head>

<body>
    <div id="crop"></div>

    <script src="libs/jquery/dist/jquery.js"></script>
    <script src="fi/class.js"></script>
    <script src="fi/matrix.js"></script>
    <script src="crop.js"></script>

    <script>
        //定义在dom文档中定义一个钩子
        //在javascript通过接口去实现功能
        $("#crop").cropper();
    </script>
</body>

</html>